package com.wxservice.domain.request;


import com.alibaba.fastjson.annotation.JSONField;




//用于获得服务器上的素材")
public class BatchgetMediaREQ {
    @JSONField(serialize = false)
    //access_token：接口调用凭证access_token
    private String access_token;
    //type：素材的类型，图片（image）、视频（video）、语音 （voice）、图文（news）
    private String type;
    //offset：全部素材的该偏移位置开始返回，0表示从第一个素材 返回
    private int offset;
    //count：返回素材的数量，取值在1到20之间
    private int count;

    @Override
    public String toString() {
        return "BatchgetMediaREQ{" +
                "access_token='" + access_token + '\'' +
                ", type='" + type + '\'' +
                ", offset=" + offset +
                ", count=" + count +
                '}';
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public BatchgetMediaREQ() {
    }

    public BatchgetMediaREQ(String access_token, String type, int offset, int count) {
        this.access_token = access_token;
        this.type = type;
        this.offset = offset;
        this.count = count;
    }
}
